package com.acme;

public class Test {

	public static void main(String[] args) {
		String x = "";
		String s = args[0];
		int ind = s.indexOf("//");
		s = s.substring(0,ind);
		String[] array = s.split("\\*\\\\");
		for (int i = 0; i < array.length; i++){
			int in = array[i].indexOf("\\*");
			if(in > -1){
				array[i] = array[i].substring(0, in).trim();
				x += array[i];
			}
			else 
				x += array[i];
		}
		System.out.println(x);
	}

}
